using System.Collections.Generic;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SouthernLand.Common.BOL.NhaDat
{
    [ParseChildren(true)]
    public class ddlDonVT : DropDownList
    {
        public ddlDonVT()
        {
            List<DonVT> obj = DonVT.GetAllDonVT();
            DataSource = obj;
            DataValueField = "DonVTID";
            DataTextField = "TenDonVT";
            DataBind();
        }
    }
}